/*
 * GWTServiceAsync.java
 *
 * Created on 1 de noviembre de 2009, 07:10 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package py.fpuna.ii.electiva2.client;
import java.util.List;
import py.fpuna.ii.electiva2.client.model.ClienteModel;
import com.google.gwt.user.client.rpc.AsyncCallback;


/**
 *
 * @author Lauri
 */
public interface GWTServiceAsync {
    
    public void guardarCliente(ClienteModel client, AsyncCallback callback);

    public void listarClientes(AsyncCallback callback);

    public void modificarCliente(Integer idClient, ClienteModel client, AsyncCallback callback);

    public void eliminarCliente(Integer idClient, AsyncCallback callback);

    public void listarClientesEncontrados(String condicion, AsyncCallback callback);

}
